package cn.com.nes.mybatis.agent.contract.mapper;

import cn.com.nes.mybatis.agent.contract.entity.ContractType;
import cn.com.nes.site.service.contract.bo.ContractTypePageBO;
import cn.com.nes.site.service.contract.bo.ContractTypeQueryBO;
import cn.com.nes.site.service.contract.dto.ContractTypeDTO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ContractTypeMapper extends BaseMapper<ContractType> {

    List<ContractTypeDTO> getContractTypePage(@Param("page") Page<ContractTypeDTO> page,
            @Param(value = "bo") ContractTypePageBO contractTypePageBO);


    List<ContractTypeDTO> getContractTypes(@Param(value = "bo") ContractTypeQueryBO contractTypeQueryBO);

}